package com.yyk.yiliao.bean;

/**
 * Created by Administrator on 2018/8/30 0030.
 */

public class OrderSubOrder_Info {

    @Override
    public String toString() {
        return "OrderSubOrder_Info{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data.toString() +
                '}';
    }

    /**
     * code : 1
     * msg : 订单提交成功
     * data : {"pay_type":1,"total":33,"order_code":"2018082819295913745","addtime":1535455799}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @Override
        public String toString() {
            return "DataBean{" +
                    "pay_type=" + pay_type +
                    ", total=" + total +
                    ", order_code='" + order_code + '\'' +
                    ", addtime=" + addtime +
                    '}';
        }

        /**
         * pay_type : 1
         * total : 33
         * order_code : 2018082819295913745
         * addtime : 1535455799
         */

        private int pay_type;
        private float total;
        private String order_code;
        private int addtime;
        private float balance;

        public float getBalance() {
            return balance;
        }

        public void setBalance(float balance) {
            this.balance = balance;
        }

        public int getPay_type() {
            return pay_type;
        }

        public void setPay_type(int pay_type) {
            this.pay_type = pay_type;
        }

        public float getTotal() {
            return total;
        }

        public void setTotal(float total) {
            this.total = total;
        }

        public String getOrder_code() {
            return order_code;
        }

        public void setOrder_code(String order_code) {
            this.order_code = order_code;
        }

        public int getAddtime() {
            return addtime;
        }

        public void setAddtime(int addtime) {
            this.addtime = addtime;
        }
    }
}
